﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WizzardTheGame
{
    class MenuItem
    {
        private ObjectText text;
        public delegate void Action();
        public event Action Activate;


        #region Properties

        public ObjectText Text
        {
            get { return text; }
            set { text = value; }
        }

        #endregion

        public void Draw()
        {
            Text.Draw();
        }

        public void CallActivate()
        {
            Activate();
        }
    }
}
